* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  :root {
    /* main color of site */
    --main-color: rgb(103, 157, 84);
    /* secondary color of site */
    --secondary-color: rgb(122, 157, 84);
    /* body color */
    --body-color: rgba(255, 255, 255, 1);
    /*order color */
    --order-color: rgb(96, 123, 66);
  }
  
  #event {
    font-family: dana;
    position: fixed;
    background-color: var(--secondary-color);
    top: -80px;
    z-index: 100;
    width: 100%;
    transition: 1s;
    opacity: 0;
    padding: 10px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    color: #fff;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
  }
  #event p {
    text-align: center;
  }
  #event button {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    background-color: transparent;
  }
  
  .back-home {
    position: absolute;
    width: 85px;
    height: 80px;
    top: 0;
    right: 0;
    font-weight: 900;
    font-size: 1.2rem;
    z-index: 100;
    display: flex;
    justify-content: center;
    color: #fff;
    background: var(--main-color);
  }
  .back-home img {
    width: 35px;
  }
  
  body {
    font-family: dana;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: var(--body-color);
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  /* container of templates */
  .container {
    margin: auto !important;
    height: 100vh;
    width: 700px;
  }
  .mainMenu {
    width: 100%;
    height: 100%;
  }
  .first-slide {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-direction: column;
    gap: 2em;
  }
  
  .logo {
    width: 200px;
    margin-top: -45px;
  }
  .logo img {
    width: 100%;
    object-fit: contain;
  }
  
  #categories {
    display: flex;
    flex-direction: column;
    gap: 0.825em;
    max-height: 304px !important;
    overflow: auto;
    overflow-x: unset;
  }

  /* scrallbar webkit or safari */
  #categories::-webkit-scrollbar {
    width: 8px;
  }
  
  #categories::-webkit-scrollbar-thumb {
    background-color: rgba(80, 80, 80, 0.6);
    border-radius: 6px;
  }
  
  #categories::-webkit-scrollbar-track {
    background: #ffffff;
  }
  .categories-item {
    background-color: var(--main-color);
    padding: 10px 15px;
    border-radius: 40px;
    text-align: center;
    cursor: pointer;
  }
  
  .social-media {
    display: flex;
    gap: 1rem;
    align-items: center;
  }
  .social-media a {
    width: 48px;
    height: 48px;
    background-color: var(--main-color);
    border-radius: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .social-media a img {
    display: block;
  }
  
  .second-slide {
    display: flex;
    gap: 10px;
    max-height: 100svh;
  }
  
  
  .waiter-open-modal-btn:hover {
    box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset,
      rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset,
      rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px,
      rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px,
      rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
  }
  
  .waiter-open-modal-btn {
    position: absolute;
    width: 85px;
    height: 80px;
    top: 80px;
    right: 0;
    font-size: 12px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #fff;
    background-color: var(--main-color);
    transition: 0.6s;
    outline: none;
    border: none;
    font-family: dana;
  }
  
  
  #subCategories {
    max-height: 100svh;
    width: 85px;
    background-color: var(--main-color);
    margin-top: 160px;
    position: sticky;
    top: 0;
    padding-right: 10px;
    overflow-x: scroll;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    padding-block: 1.5em;
    color: #fff;
    padding-bottom: 100px;
  }
  .subCategories-item {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 100%;
    border-radius: 15px;
    padding: 10px 0;
    text-align: center;
  }
  .subCategories-item svg {
    width: 36px;
    height: 37px;
  }
  .subCategories-item svg path {
    stroke: #fff;
  }
  .subCategories-item p {
    font-size: 0.82rem;
    font-weight: 400;
    position: relative;
    z-index: 10;
    white-space: pre;
    text-wrap: wrap !important;
    padding: 4px;
  
  }
  .subCategories-item.active svg path {
    stroke: var(--order-color);
  }
  
  .subCategories-item.active {
    position: relative;
    color: var(--order-color);
    background-color: var(--body-color);
  }
  .subCategories-item.active::before,
  .subCategories-item.active::after {
    --border-radius: 1rem;
  
    content: "";
    position: absolute;
    width: var(--border-radius);
    height: var(--border-radius);
    left: 0;
    background-color: var(--main-color);
  }
  
  .subCategories-item.active::before {
    top: calc(var(--border-radius) * -1);
    border-radius: 0 100vw 0 100vw;
    box-shadow: -10px 10px 0px 10px var(--body-color);
  }
  .subCategories-item.active::after {
    bottom: calc(var(--border-radius) * -1);
    border-radius: 100vw 0 100vw 0;
    box-shadow: -10px -8px 0px 10px var(--body-color);
  }
  
  #foods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100svh;
    overflow-x: scroll;
    position: sticky;
    top: 0;
    width: 73%;
    padding-block: 1.4em;
  }
  #foods .item {
    width: 100%;
    padding: 10px;
    font-size: 0.825rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--secondary-color);
    border-radius: 24px;
    height: 100px;
    cursor: pointer;
  }
  .english-title-sizes{
    height: 137px !important;
  }
  .food-img {
    width: 65px;
    height: 65px;
  }
  .food-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .item-title p:nth-child(2) {
    color: rgba(255, 255, 255, 1);
  }
  .item-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
  }

  .sizes {
    display: flex;
  }
  .sizes div {
    display: flex;
    flex-direction: column;
    width: 33%;
  }
  .sizes p {
    color: #000000;
    margin-right: 0 !important;
    font-size: 12px;
}
.sizes .title {
    color: #ffffff;
    margin-right: 0 !important;
    font-size: 13px !important;
    color: #C7D5C8;
}
  
  .item-details {
    width: 100%;
  }
  
  #popup {
    width: 100%;
    height: 100vh;
    position: absolute;
    transition: 1s;
    top: 100vh;
    opacity: 0;
    z-index: 100;
    background: rgba(245, 245, 245, 1);
  }
  #popup-container {
    height: 85svh;
    overflow-y: scroll;
  }
  #popup-container .back {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2000;
    background-color: #6e6e6e94;
    display: flex;
    background: #607b42;
    border-radius: 100px;
  }
  
  .gallery {
    width: 100%;
    height: 400px;
    background-color: white;
    border-radius: 0 0 25px 25px;
  }
  
  .gallery .swiper-slide {
    width: 95%;
  }
  
  .gallery .swiper-slide img {
    width: 100%;
    height: 90%;
    object-fit: contain;
  }
  .gallery .swiper-pagination-bullet-active {
    background-color: var(--secondary-color);
    width: 25px !important;
    height: 5px;
    border-radius: 4px;
  }
  .gallery .swiper-pagination-bullet {
    transition: 0.6s;
    height: 5px;
    width: 5px;
  }
  .title {
    margin-right: 16px;
  }
  .title p:first-child {
    color: #000;
    font-weight: 600;
  }
  .title p:last-child {
    color: rgba(114, 114, 114, 1);
    font-weight: 500;
  }
  .description {
    margin: 12px 16px 24px 16px;
    font-weight: 400;
    font-size: 14px;
    color: rgba(1, 1, 1, 1);
  }
  #desc{
    background-color: var(--main-color);
    padding: 10px 16px;
    text-align: center;
    display: inline-block;
    width: auto;
    margin: 0 auto;
    margin-top: -10px;
    border-radius: 40px;
    margin-bottom: 15px;
  }
  #desc:empty {
    display: none;
  }
 
  
  #price-video {
    height: 60px;
    margin-inline: 16px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  #price-video div {
    background-color: var(--secondary-color);
    padding: 10px 8px;
    border-radius: 16px;
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
    color: aliceblue;
  }
  #price-video div img {
    width: 24px;
  }
  #price-video p {
    font-size: 24px;
    font-weight: 600;
  }
  #price-video p::after {
    content: "تومان";
    margin-right: 5px;
    font-size: 16px;
    font-weight: 400;
  }
  #video-holder {
    margin-inline: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 0;
    transition: 0.6s;
  }
  #video-holder video {
    width: 100%;
    height: 0;
    transition: 0.6s;
    margin-top: 20px;
  }

  #sizes{
    display: flex;
    justify-content: space-between;
    padding-inline: 16px;
    color: #607b42;
  }
  .size {
    padding: 10px 8px;
    border: 1px solid #607b42;
    min-width: 98px;
    text-align: center;
    border-radius: 16px;
  }
  .size.active-size {
    background: #607b42;
    color: #ffffff;
  }
  
  @media screen and (max-width: 700px) {
    .container {
      margin: auto !important;
      height: 100vh;
      width: 100%;
    }
  }
  
  .note_detail_box_container {
    z-index: 100;
  }
  
  .food-note {
    background-color: var(--order-color) !important ;
  }
  
  .note-header {
    background-color: var(--order-color) !important ;
  }
  .table-sum-box {
    background-color: rgba(169, 209, 156, 1) !important;
  }
  
  #change-data {
    display: none;
  }
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
  }
  .modal-content {
    position: fixed;
    top: 40%;
    right: 33%;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 7px;
    width: 30%;
  }
  div.modal-content div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 110px;
  }
  div.modal-content div p {
    font-family: dana;
    text-align: center;
  }
  
  @media screen and (max-width: 314px) {
    .modal-content {
      right: 4%;
      width: 92%;
    }
  }
  @media screen and (max-width: 370px) and (min-width: 315px) {
    .modal-content {
      right: 18%;
      width: 65%;
    }
  }
  @media screen and (max-width: 531px) and (min-width: 371px) {
    .modal-content {
      right: 22.5%;
      width: 55%;
    }
  }
  @media screen and (max-width: 1024px) and (min-width: 951px) {
    .modal-content {
      right: 33%;
      width: 34%;
    }
  }
  

  @media screen and (max-width: 398px) and (min-width:325px){
    .sizes p {
        font-size: 11px;
    }
  }
  @media screen and (max-width: 326px){
    .sizes p {
        font-size: 10px;
    }
  }